﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DEMO
{
    class Judgement:Gamename
    {
        private int score;
        private int score1;

        public Judgement(int score,int score1)
        {
            this.score = score;
            this.score1 = score1;
        }

        public int Score { get => score; set => score = value; }
        public int Score1 { get => score1; set => score1 = value; }

        public Judgement()
        {
        }
        public int Judge(int num,int y)
        {
            if (num == y)
            {
                return 0;
            }
            else if (num == 1 && y == 3 || num == 2 && y == 1 || num == 3 && y == 2)
            {
                return 1;
            }
            else 
            {
                return -1;
            }
        }
    }
}
